package com.itheima.project.mapper;

import com.itheima.project.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface UserMapper {
/**
 * @author     ：zhangheng
 * @date       ：Created in 2024/9/7 18:16
 * @description：数据库校验
 * @modified By：
 * @version: 1.0
 */
@Select("select * from sys_user where username = #{username}")
public User findByUsername(String username);
}
